package com.atrix.CinemaView.service;

import com.atrix.CinemaView.pojo.dto.VideoStreamData;
import com.atrix.CinemaView.pojo.dto.info.VideoInfo;

import java.util.List;

public interface VideoService {
    
    /**
     * 根据索引获取视频数据
     * @param index 视频索引
     * @return 视频数据
     */
    VideoStreamData getVideo(Integer containerIndex, Integer index);
    
    /**
     * 获取全部视频信息
     */
    List<VideoInfo> getVideoInfo();
}
